package com.financing.model.invest;
import com.financing.model.base.BaseRepay;
import com.financing.model.user.User;

@SuppressWarnings("serial")
public class Repay extends BaseRepay<Repay> {
	public static final Repay me = new Repay().dao();
	public static final String id = "id";
	// 模板名称
	public static final String userId = "user_id";
	public static final String bidId = "bid_id";
	public static final String bidName = "bid_name";
	public static final String tradeId = "trade_id";
	public static final String period = "period";
	public static final String applyPeriod = "apply_period";
	public static final String status = "status";
	public static final String type = "type";
	public static final String total = "total";
	public static final String amount = "amount";
	public static final String interest = "interest";
	public static final String plus = "plus";
	public static final String jxq = "jxq";
	public static final String repay_user_id = "repay_user_id";
	public static final String repay_real_name = "repay_real_name";
	public static final String actual_repay_user_id = "actual_repay_user_id";
	public static final String actual_repay_real_name = "actual_repay_real_name";
	public static final String createTime = "create_time";
	public static final String repayTime = "repay_time";
	public static final String actual_repay_time = "actual_repay_time";
	public static final String isLast = "is_last";
	
	public User getRepay() {
		return User.me.findById(getInt("repay_user_id"));
	}
}


